package com.example.demo2025011501

interface Animal {
    fun getName():String
}

class Cat:Animal{
    override fun getName():String {
        return "猫"
    }
}

class Dog:Animal by Cat(){

}